//引入将要注册的全局组件
import Svgicon from "./Svgicon/index.vue";
import Pagination from "./Pagination/index.vue";

const allGloablComponent: any = { Svgicon, Pagination };
//对外暴露插件对象
export default {
  install(app: any) {
    //注册项目全部的全局组件
    Object.keys(allGloablComponent).forEach((key) => {
      app.component(key, allGloablComponent[key]);
    });
  },
};
